package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.base.BaseEntity;

/**
 * 提现记录表 hatchet_money_change
 * 
 * @author ruoyi
 * @date 2019-02-18
 */
public class HatchetMoneyChange extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String iD;
	/** 商户类型 */
	private String userType;
	/** 金额流动类型 */
	@Excel(name = "分润类型")  //10B是提现 其他都是分润 
	private String moneyType;
	/** 流动金额 */
	@Excel(name = "分润金额(元)")
	private BigDecimal trxAmt;
	/** 流动商户编号 */
	@Excel(name = "商户编号")
	private String userId; 
	/** 订单编号 */
	@Excel(name = "订单号")
	private String paymentOrderId;
	/** 状态 */
	private String sTATUS;
	/** 创建时间 */
	private Date createTime;
	
	//非数据库字段
	/** 商户名称*/
	@Excel(name = "分润商户名称")
	private String merName;
	/** 1代理商，2商户 */
	private String merType;
	/** 订单创建时间*/
	private Date createTime1;
	/** 订单完成时间*/
	private Date complateTime;
	/** 交易商户名称 */
	private String tradeMerName;
	/** 交易商户编号*/
	private String merchantId;
	/** 费率 */
	private String rate;
	/** 银行卡号 */
	private String cardNo;
	/** 交易类型 */
	private String tradeType;
	/** 时间 */
	@Excel(name = "创建时间")
	private String time;
	//临时字段 订单交易金额 
	private BigDecimal orderTrxAmt;
	//临时字段 商户电话
	private String merchantPhone;
	//查询参数 商户id集合
	private List<String> merchantIds;
	//临时字段 总金额
	private BigDecimal sumMoney;
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public void setID(String iD) 
	{
		this.iD = iD;
	}

	public String getID() 
	{
		return iD;
	}
	public void setUserType(String userType) 
	{
		this.userType = userType;
	}

	public String getUserType() 
	{
		return userType;
	}
	public void setMoneyType(String moneyType) 
	{
		this.moneyType = moneyType;
	}

	public String getMoneyType() 
	{
		return moneyType;
	}
	public void setTrxAmt(BigDecimal trxAmt) 
	{
		this.trxAmt = trxAmt;
	}

	public BigDecimal getTrxAmt() 
	{
		return trxAmt;
	}
	public void setUserId(String userId) 
	{
		this.userId = userId;
	}

	public String getUserId() 
	{
		return userId;
	}
	public void setPaymentOrderId(String paymentOrderId) 
	{
		this.paymentOrderId = paymentOrderId;
	}

	public String getPaymentOrderId() 
	{
		return paymentOrderId;
	}
	public void setSTATUS(String sTATUS) 
	{
		this.sTATUS = sTATUS;
	}

	public String getSTATUS() 
	{
		return sTATUS;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String getMerName() {
		return merName;
	}

	public void setMerName(String merName) {
		this.merName = merName;
	}

	public String getMerType() {
		return merType;
	}

	public void setMerType(String merType) {
		this.merType = merType;
	}
	public Date getCreateTime1() {
		return createTime1;
	}

	public void setCreateTime1(Date createTime1) {
		this.createTime1 = createTime1;
	}

	public Date getComplateTime() {
		return complateTime;
	}

	public void setComplateTime(Date complateTime) {
		this.complateTime = complateTime;
	}

	public String getTradeMerName() {
		return tradeMerName;
	}

	public void setTradeMerName(String tradeMerName) {
		this.tradeMerName = tradeMerName;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public String getRate() {
		return rate;
	}

	public void setRate(String rate) {
		this.rate = rate;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}
	
	public BigDecimal getOrderTrxAmt() {
		return orderTrxAmt;
	}

	public void setOrderTrxAmt(BigDecimal orderTrxAmt) {
		this.orderTrxAmt = orderTrxAmt;
	}

	
	public String getMerchantPhone() {
		return merchantPhone;
	}

	public void setMerchantPhone(String merchantPhone) {
		this.merchantPhone = merchantPhone;
	}
	
	
	public List<String> getMerchantIds() {
		return merchantIds;
	}

	public void setMerchantIds(List<String> merchantIds) {
		this.merchantIds = merchantIds;
	}
	
	public BigDecimal getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(BigDecimal sumMoney) {
		this.sumMoney = sumMoney;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("userType", getUserType())
            .append("moneyType", getMoneyType())
            .append("trxAmt", getTrxAmt())
            .append("userId", getUserId())
            .append("paymentOrderId", getPaymentOrderId())
            .append("sTATUS", getSTATUS())
            .append("createTime", getCreateTime())
            .toString();
    }

	public HatchetMoneyChange(String iD, String userType, String moneyType, BigDecimal trxAmt, String userId,
			String paymentOrderId, String sTATUS, Date createTime) {
		super();
		this.iD = iD;
		this.userType = userType;
		this.moneyType = moneyType;
		this.trxAmt = trxAmt;
		this.userId = userId;
		this.paymentOrderId = paymentOrderId;
		this.sTATUS = sTATUS;
		this.createTime = createTime;
	}

	public HatchetMoneyChange() {
	}
	
	
}
